<?php
require_once('lib/diy.php');

$smarty = new Smarty_Diycity();
if (isset($_POST['address']))
  $address =  $_POST['address'];
 else if (isset($_GET['address']))
   $address =  $_GET['address'];
 else
   $address = '';

$smarty->assign('address', $address);
$smarty->display('list_reports.tpl');
?>